home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak 52
/
Volume 52 - JOGO DISK .iso
/
Games
/
retroland.swf
/
scripts
/
DefineSprite_167
/
frame_2
/
PlaceObject2_95_925
/
CLIPACTIONRECORD onClipEvent(enterFrame).as
Wrap
Text File
|
2007-10-01
|
566b
|
22 lines
onClipEvent(enterFrame){
if(_root.hero.hitTest(this.enemy3sees.down))
{
_root.heroOVER._x = _root.hero._x;
_root.heroOVER._y = _root.hero._y;
_root.heroOVER.gotoAndPlay(2);
_level0.keys = 1;
_level0.lives -= 1;
_root.hero._y = -300;
}
else if(_root.hero.hitTest(this.enemy3sees.knock))
{
this.stop();
this.enemy3sees.gotoAndPlay(31);
}
else if(_root.stage._x == _level0.mapX && _root.hero._y == 50)
{
this.enemy3sees.gotoAndPlay(2);
this.gotoAndPlay(2);
}
}